package com.mp.approvalreq.entity.vo;

import java.util.List;
import java.util.Objects;

/**
 *  组件集中的组件
 * @author liuqi
 * @date 2018/9/18
 */
public class Component {
	private Integer type;
	private String name;
	private Integer need;
	private String value;
	private Integer num;
	private List<String> singleChosen;
	private List<String> multipleChosen;

	
	public Component() {
	}

	public Integer getType() {
		return type;
	}
	
	public void setType(Integer type) {
		this.type = type;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getNeed() {
		return need;
	}
	
	public void setNeed(Integer need) {
		this.need = need;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	
	public Integer getNum() {
		return num;
	}
	
	public void setNum(Integer num) {
		this.num = num;
	}
	
	public List<String> getSingleChosen() {
		return singleChosen;
	}
	
	public void setSingleChosen(List<String> singleChosen) {
		this.singleChosen = singleChosen;
	}

	public List<String> getMultipleChosen() {
		return multipleChosen;
	}

	public void setMultipleChosen(List<String> multipleChosen) {
		this.multipleChosen = multipleChosen;
	}

	@Override
	public String toString() {
		return "Component{" +
				"type=" + type +
				", name='" + name + '\'' +
				", need=" + need +
				", value='" + value + '\'' +
				", num=" + num +
				", singleChosen=" + singleChosen +
				", multipleChosen=" + multipleChosen +
				'}';
	}
}
